package com.passive.lock.mapper;

import com.passive.lock.model.po.TKey;
import com.passive.lock.model.po.TKeyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TKeyMapper {
    /**
     *
     * @mbggenerated 2017-07-27
     */
    int countByExample(TKeyExample example);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    int deleteByExample(TKeyExample example);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    int deleteByPrimaryKey(Integer keyid);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    int insert(TKey record);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    int insertSelective(TKey record);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    List<TKey> selectByExample(TKeyExample example);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    TKey selectByPrimaryKey(Integer keyid);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    int updateByExampleSelective(@Param("record") TKey record, @Param("example") TKeyExample example);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    int updateByExample(@Param("record") TKey record, @Param("example") TKeyExample example);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    int updateByPrimaryKeySelective(TKey record);

    /**
     *
     * @mbggenerated 2017-07-27
     */
    int updateByPrimaryKey(TKey record);
}